#!/bin/bash
#beetle清空redis
#需要上传至redis机器的/home/beetle/shell 目录

source /etc/profile

redis-cli << EOF
flushall
exit
EOF
exit 0